<div class="form-signin" ng-init="vm.clear()">
        <h2 class="form-signin-heading" style="text-align: center;">Admin System</h2>
        <label for="inputEmail" class="sr-only">UserName</label>
        <input type="text" id="inputName" class="form-control" ng-model="vm.name" name="name" placeholder="UserName" required autofocus>
        
        <label for="inputPassword" class="sr-only">Password</label>
        <input type="password" id="inputPassword" ng-model="vm.password" class="form-control"  name="password" placeholder="Password" required>
        
        <button id="btn-login" class="btn btn-lg btn-primary" ng-click="vm.login()" type="button">Login</button>
</div>

<style>

        body {
        padding-top: 40px;
        padding-bottom: 40px;
        background-color: #eee;
        }

        .form-signin {
        max-width: 330px;
        padding: 15px;
        margin: 0 auto;
        }
        .form-signin .form-signin-heading,
        .form-signin .checkbox {
        margin-bottom: 10px;
        }
        .form-signin .checkbox {
        font-weight: normal;
        }
        .form-signin .form-control {
        position: relative;
        height: auto;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
                box-sizing: border-box;
        padding: 10px;
        font-size: 16px;
        }
        .form-signin .form-control:focus {
        z-index: 2;
        }
        .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        }
        .form-signin input[type="password"] {
        margin-bottom: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        }

</style>